<!doctype html>
<html ng-app='myApp'>
<head>
<#include "/h5/include.ftl"/>
<script src="/h5/js/biz/userInfo.js"></script>
<title>修改个人资料</title>
</head>

<body style="background:#f2f2f2;" ng-controller='MyController'>
<div class="index-header"> 
  <!--iheader-->
  <div id="iheader">
      <a href="" class="iheader_back"></a>
    <h2 class="iheader_title">修改个人资料</h2>
    <h6 class="clear"></h6>
  </div>
</div>
<div class="h90"></div>
<div class="my_change">
	<dl class="my_tx" ng-click="editHeadImg()">
    	<a href="#">
            <dd><img src="/h5/images/tx.png" ng-src='/download?id={{user.headImg}}'/></dd>
            <dt>头像</dt>
            <iframe name='hidden_frame' id="hidden_frame" style="display: none;"></iframe>
		<form action="/fileUpload?callback=callback" id="form1" name="form1" encType="multipart/form-data" method="post" target="hidden_frame">
			<input type="file" id="img" accept="image/jpg, image/jpeg, image/png, image/gif" name="file" style="background: white;display: none;" />
		</form>
        </a>
    </dl>
	<dl ng-click="editNickName()">
    	<a href="#">
            <dd ng-bind='user.nickName' >PAPI酱</dd>
            <dt>昵称</dt>
        </a>
    </dl>
	<dl>
    	<a href="#">
            <dd ng-bind='user.account'>1866****052</dd>
            <dt>绑定手机</dt>
        </a>
    </dl>
	<dl>
    	<a href="#">
            <dt ng-click="toAddress()">收货地址</dt>
        </a>
    </dl>
</div>
<div class="h20"></div>
<div class="my_change">
	<dl>
    	<a href="#">
            <dt ng-click="toChangePwd()">修改密码</dt>
        </a>
    </dl>
</div>
<div class="h40"></div>

</body>
</html>
